<div class="box">
<div class="content">
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>
</div>
</div>
<style>
.box {
width: 400px;
height: 400px;
display: block;
border: 1px solid blueviolet;
}
.content {
width: 100%;
height: 50%;
margin-top: 200px;
}
ul {
padding-left: 0;
display: flex;
flex-direction: row-reverse;
justify-content: space-around;
align-items: center;
width: 100%;
height: 100%;
}
li {
list-style: none;
border: 1px solid black;
width: 50px;
height: 100px;
line-height: 100px;
text-align: center;
vertical-align: middle;
}
li:nth-child(3) {
height: 200px;
line-height: 200px;
vertical-align: middle;
}
</style>